<admintpl file="header" />
<script src="/public/static/js/jquery.json.js"></script>
<script src="/public/static/js/common.js" charset="utf-8"></script>
<script src="/public/static/js/config.js" charset="utf-8"></script>
<script src="/public/static/js/comet.js" charset="utf-8"></script>
<script src="/public/static/js/chat.js?jj" charset="utf-8"></script>
</head>
<body>
<div class="wrap">
    <ul class="nav nav-tabs">
        <li><a href="{:U('Call/index')}">喊单列表</a></li>
        <li class="active"><a href="{:U('Call/add')}">添加喊单</a></li>
    </ul>
    <form method="post" class="form-horizontal js-ajax-form">
        <fieldset>
            <div class="control-group">
                <label class="control-label">喊单种类：</label>
                    {:html_select($deal_variety,$row['deal_variety'],'deal_variety','',true,'deal_variety')}
            </div>
            <div class="control-group">
                <label class="control-label">价格类型：</label>
                    {:html_select($price_category,$row['price_category'],'price_category','',true,'price_category')}
            </div>
            <div class="control-group">
                <label class="control-label">喊单种类：</label>
                {:html_select($category,$row['category'],'category','',true,'category')}
            </div>
            <div class="control-group" >
                <label class="control-label">价格：</label>
                <div class="controls">
                    <input type="text" name="price" placeholder="价格" value="{$row.price}"/>
                </div>
            </div>
            <div class="control-group" >
                <label class="control-label">止盈价格：</label>
                <div class="controls">
                    <input type="text" name="stop_profit_price" placeholder="止盈价格" value="{$row.stop_profit_price}"/>
                </div>
            </div>
            <div class="control-group" >
                <label class="control-label">止损价格：</label>
                <div class="controls">
                    <input type="text" name="stop_loss_price" placeholder="止损价格" value="{$row.stop_loss_price}"/>
                </div>
            </div>

            <div class="control-group">
                <label class="control-label">仓位：</label>
                    {:html_select($position,'40','position','',true,'position')}
            </div>
            <div class="control-group">
                <label class="control-label">开仓备注：</label>
                <div class="controls">
                    <textarea name="remark" id="" cols="100" rows="6" placeholder="开仓备注"></textarea>
                </div>
            </div>
        </fieldset>
        <div class="form-actions">
            <button type="button" class="btn btn-primary" onclick="checkCall()">开喊</button>
        </div>
    </form>
</div>
<script src="__PUBLIC__/js/common.js"></script>
<script src="/public/static/js/pageload-call.js?2334545"></script>
<script type="text/javascript">
    pageload.init()
</script>
</body>
</html>